package com.team7.happycommunity.personcentor.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.io.Serializable;

/**
 * (PersonImage)实体类
 *
 * @author makejava
 * @since 2020-03-22 21:19:30
 */
@ApiModel(value = "图片实体类")
public class PersonImage implements Serializable {
    private static final long serialVersionUID = 651560723597011661L;
    @ApiModelProperty(value = "id")
    private Integer id;
    @ApiModelProperty(value = "小区id(小区图片)")
    private Integer personPlotId;
    @ApiModelProperty(value = "住宅表的id(住宅id)")
    private Integer personHomeId;
    @ApiModelProperty(value = "用户表的id")
    private Integer personUserId;
    @ApiModelProperty(value = "(0-用户空间图片，1-用户头像)")
    private Integer state;
    @ApiModelProperty(value = "上传时间")
    private Date time;
    @ApiModelProperty(value = "图片链接")
    private String url;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPersonPlotId() {
        return personPlotId;
    }

    public void setPersonPlotId(Integer personPlotId) {
        this.personPlotId = personPlotId;
    }

    public Integer getPersonHomeId() {
        return personHomeId;
    }

    public void setPersonHomeId(Integer personHomeId) {
        this.personHomeId = personHomeId;
    }

    public Integer getPersonUserId() {
        return personUserId;
    }

    public void setPersonUserId(Integer personUserId) {
        this.personUserId = personUserId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

}